package com.sky.service.impl;

import com.sky.dto.AddPartnerDTO;
import com.sky.mapper.PartnerMapper;
import com.sky.service.PartnerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PartnerServiceImpl implements PartnerService {
    @Autowired
    private PartnerMapper partnerMapper;
    /**
     * 新增合作商
     * */
    @Override
    public void addPartner(AddPartnerDTO addPartnerDTO) {
        //省事就不写实体类了
        partnerMapper.addPartner(addPartnerDTO);



    }
}
